﻿@model BlackBird.Models.SupplierDM
@using BlackBird.Resources

<section class="overlay_window">

    <header>
        <h1>@BBStrings.NewSupplier</h1>
    </header>

    @using (Html.BeginForm("NewSupplier","Common",FormMethod.Post))
    {
        @Html.ValidationSummary(true)

            <div class="editor-label">
                供货商：
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Name)
                @Html.ValidationMessageFor(model => model.Name)
            </div>

            <div class="editor-label">
                联系人：
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Contacter)
                @Html.ValidationMessageFor(model => model.Contacter)
            </div>

            <div class="editor-label">
                联系电话
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.CallNumber)
                @Html.ValidationMessageFor(model => model.CallNumber)
            </div>

            <p>
                <input type="submit" name = "newsupplier" value="@BBStrings.NewSupplier" />
            </p>

    }

</section>

